ExamPlay Light Logo
Masuk

Computer Science for IGCSE & O level - Programming (Section 8 - No. 4)

What will the following code print? `print "Hello"[1]`
H
e
Hello
1

Penjelasan

String indexing starts at 0, so index 1 corresponds to the second character 'e'.

Komentar (0)

Masuk Untuk Berkomentar
Iklan
BrainBehindX Inc Logo
©2026; Didukung oleh BrainBehindX Inc